package com.hghivln.blog.service;

import com.hghivln.blog.common.lang.Result;
import com.hghivln.blog.entity.BlogCollection;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hghivln.blog.pojo.dto.BlogCollectionDto;

/**
 * <p>
 * 用户_博客收藏表 服务类
 * </p>
 *
 * @author hghivln
 * @since 2021-09-25
 */
public interface BlogCollectionService extends IService<BlogCollection> {

    void collection(Long blogId);

    Integer getCollection(Long blogId);

    void removeByBlogId(Long blogId);

    Result<?> getByPage(BlogCollectionDto blogCollectionDto);
}
